
        <div class="wrap">
            <div class="container">
                <div class="row">
                    <div class="col-xs-12 col-md-9 main">
                        <ul class="nav nav-tabs nav-tabs-zen mb10 mt30">
                            <li class="active">
                                <a href="{:U('index/question/index')}">
                                    最新的
                                </a>
                            </li>
                            <li>
                                <a href="{:U('index/question/hottest')}">
                                    热门的
                                </a>
                            </li>
                            <li>
                                <a href="{:U('index/question/unanswered')}">
                                    未回答的
                                </a>
                            </li>
                        </ul>
                        <div class="stream-list question-stream">
                            <?php foreach ($list as  $row) { ?>
                                <section class="stream-list__item">
                                    <div class="qa-rank">
                                        <div class="votes hidden-xs">
                                            <?php echo $row['vote_num'] ?>
                                            <small>
                                                投票
                                            </small>
                                        </div>
                                        <div class="answers <?php if($row['answer_num']!='0'){echo 'answered';} ?>">
                                            <?php echo $row['answer_num'] ?>
                                            <small>
                                                回答
                                            </small>
                                        </div>
                                        <div class="views hidden-xs">
                                           <?php echo $row['view'] ?>
                                            <small>
                                                浏览
                                            </small>
                                        </div>
                                    </div>
                                    <div class="summary">
                                        <ul class="author list-inline">
                                            <li>
                                                <a href="https://segmentfault.com/u/church">
                                                   <?php echo $row['username'] ?>
                                                </a>
                                                <span class="split">
                                                </span>
                                                <a href="https://segmentfault.com/q/1010000006732319/a-1020000006732376">
                                                   <?php echo CT($row['create_time']) ?>回答
                                                </a>
                                            </li>
                                        </ul>
                                        <h2 class="title">
                                            <a href="{:U('index/question/index',array('qid'=>$row['id']))}">
                                                <?php echo $row['title'] ?>
                                            </a>
                                        </h2>
                                        <ul class="taglist--inline ib">
                                            <?php foreach ($row['categorys'] as  $category) { ?>
                                            <li class="tagPopup">
                                                <a class="tag tag-sm" href="https://segmentfault.com/t/php" data-toggle="popover"
                                                data-original-title="php" data-id="1040000000089387">
                                                   <?php echo $category['cname'] ?>
                                                </a>
                                            </li>
                                            <?php } ?>
                                        </ul>
                                    </div>
                                </section>
                             <?php  } ?>
                        </div>
                        <style type="text/css">
                            .xbspage a,.xbspage span{
                                display: inline-block;
                                padding:0px 10px;
                                height: 30px;
                                line-height: 30px;
                                border: 1px solid #006741;
                                margin: 0px 5px;
                            }
                            .xbspage span.current{
                                background: #006741 url() 0 0 no-repeat;
                                color: #fff;
                            }
                        </style>
                        <div class="text-center xbspage">
                            <?php echo $show ?>
                        </div>
                        <!-- /.stream-list -->
                        <div class="text-center">
                            <ul class="pager">
                                <li>
                                    以上是部分更新，你还可以查看
                                </li>
                                <li>
                                    <a href="https://segmentfault.com/questions">
                                        全部问题
                                    </a>
                                </li>
                                <li>
                                    或者
                                </li>
                                <li>
                                    <a href="https://segmentfault.com/questions/hottest">
                                        热门问题
                                    </a>
                                </li>
                                <li>
                                    列表
                                </li>
                            </ul>
                        </div>
                    </div>
                    <!-- /.main -->
                    <div class="col-xs-12 col-md-3 side mt30">
                        <div class="side-ask alert alert-warning">
                            <p>
                                今天，你编程遇到了什么问题呢？
                            </p>
                            <a href="https://segmentfault.com/ask" class="mt10 btn btn-primary btn-block">
                                提问
                            </a>
                            <div class="mt10 side-system-notice">
                                <i class="fa fa-bullhorn pull-left">
                                </i>
                                <a class="side-system-notice--title" href="https://segmentfault.com/a/1190000006690217#ops">
                                    技术周刊 Vol.2 - 666，ES6
                                </a>
                            </div>
                        </div>
                        <div class="widget-messages">
                            <a id="draftCount" class="widget-messages__item" href="https://segmentfault.com/user/draft">
                                我的草稿
                                <span class="badge">
                                    4
                                </span>
                            </a>
                            <a class="widget-messages__item" href="https://segmentfault.com/user/bookmarks">
                                我的收藏
                            </a>
                            <a class="widget-messages__item" target="_blank" href="https://segmentfault.com/u/xuebingsiabin/questions/following">
                                我关注的
                            </a>
                            <a id="inviteCount" class="widget-messages__item" href="https://segmentfault.com/user/invited">
                                邀请我回答的
                            </a>
                            <a class="widget-messages__item" href="https://segmentfault.com/user/invitation">
                                邀请朋友加入
                            </a>
                        </div>
                        <div class="sfad-sidebar">
                            <div class="sfad-item">
                                <ins>
                                    <a href="https://sponsor.segmentfault.com/ck.php?oaparams=2__bannerid=56__zoneid=3__cb=27aea20ef2__oadest=https%3A%2F%2Fsegmentfault.com%2Fuser%2Fprofile%2Fedit"
                                    target="_blank">
                                        <img src="__PUBLIC__/images/71ec9b4ef409fa223cdc71b16b670e74.gif" width="255"
                                        height="65" alt="" title="" border="0">
                                    </a>
                                    <div id="beacon_27aea20ef2" style="position: absolute; left: 0px; top: 0px; visibility: hidden;">
                                        <img src="__PUBLIC__/images/lg.php" width="0" height="0" alt="" style="width: 0px; height: 0px;">
                                    </div>
                                </ins>
                                <button class="close" type="button" aria-hidden="true">
                                    ×
                                </button>
                            </div>
                            <div class="sfad-item">
                                <ins>
                                    <a href="https://sponsor.segmentfault.com/ck.php?oaparams=2__bannerid=70__zoneid=4__cb=53894b20cb__oadest=https%3A%2F%2Fsegmentfault.com%2Fa%2F1190000006690217%23ops"
                                    target="_blank">
                                        <img src="__PUBLIC__/images/4db0b3ad1752bbe1c6088baaf71094e9.png" width="255"
                                        height="65" alt="SegmentFault 技术周刊 Vol.2 - 666，ES6" title="SegmentFault 技术周刊 Vol.2 - 666，ES6"
                                        border="0">
                                    </a>
                                    <div id="beacon_53894b20cb" style="position: absolute; left: 0px; top: 0px; visibility: hidden;">
                                        <img src="__PUBLIC__/images/lg(1).php" width="0" height="0" alt=""
                                        style="width: 0px; height: 0px;">
                                    </div>
                                </ins>
                                <button class="close" type="button" aria-hidden="true">
                                    ×
                                </button>
                            </div>
                        </div>
                        <div data-type="widget" data-api="/api/user/ranking">
                            
                            <div class="widget-box widget-box--bookmark ">
                                <h4 class="widget-box__title">
                                    热门收藏夹
                                    <a id="widgetBookmarkRefresh" class="userstab pull-right" href="javascript:;">
                                        换一组
                                    </a>
                                </h4>
                                <ul class="widget-links list-unstyled media">
                                    <li class="widget-links__item">
                                        <img class="pull-left pattern pattern-10 mr10" src="__PUBLIC__/images/1.svg"
                                        width="32">
                                        <div class="media-body">
                                            <a target="_blank" class="ellipsis mr0" href="https://segmentfault.com/bookmark/1230000002533011">
                                                我的学习册
                                            </a>
                                            <p class="mb0">
                                                <span>
                                                    179
                                                </span>
                                                个条目
                                                <span class="division">
                                                    |
                                                </span>
                                                <span>
                                                    44
                                                </span>
                                                人关注
                                            </p>
                                        </div>
                                    </li>
                                    <li class="widget-links__item">
                                        <img class="pull-left pattern pattern-8 mr10" src="__PUBLIC__/images/8.svg"
                                        width="32">
                                        <div class="media-body">
                                            <a target="_blank" class="ellipsis mr0" href="https://segmentfault.com/bookmark/1230000004250438">
                                                2015 优秀文章 - Linux
                                            </a>
                                            <p class="mb0">
                                                <span>
                                                    49
                                                </span>
                                                个条目
                                                <span class="division">
                                                    |
                                                </span>
                                                <span>
                                                    42
                                                </span>
                                                人关注
                                            </p>
                                        </div>
                                    </li>
                                    <li class="widget-links__item">
                                        <img class="pull-left pattern pattern-12 mr10" src="__PUBLIC__/images/2.svg"
                                        width="32">
                                        <div class="media-body">
                                            <a target="_blank" class="ellipsis mr0" href="https://segmentfault.com/bookmark/1230000003102652">
                                                Git &amp; GitHub 不完全指南
                                            </a>
                                            <p class="mb0">
                                                <span>
                                                    27
                                                </span>
                                                个条目
                                                <span class="division">
                                                    |
                                                </span>
                                                <span>
                                                    52
                                                </span>
                                                人关注
                                            </p>
                                        </div>
                                    </li>
                                    <li class="widget-links__item">
                                        <img class="pull-left pattern pattern-4 mr10" src="__PUBLIC__/images/1.svg"
                                        width="32">
                                        <div class="media-body">
                                            <a target="_blank" class="ellipsis mr0" href="https://segmentfault.com/bookmark/1230000002443211">
                                                Laravel 技术栈
                                            </a>
                                            <p class="mb0">
                                                <span>
                                                    23
                                                </span>
                                                个条目
                                                <span class="division">
                                                    |
                                                </span>
                                                <span>
                                                    129
                                                </span>
                                                人关注
                                            </p>
                                        </div>
                                    </li>
                                    <li class="widget-links__item">
                                        <img class="pull-left pattern pattern-15 mr10" src="__PUBLIC__/images/9.svg"
                                        width="32">
                                        <div class="media-body">
                                            <a target="_blank" class="ellipsis mr0" href="https://segmentfault.com/bookmark/1230000002599839">
                                                golang 收集计划
                                            </a>
                                            <p class="mb0">
                                                <span>
                                                    17
                                                </span>
                                                个条目
                                                <span class="division">
                                                    |
                                                </span>
                                                <span>
                                                    61
                                                </span>
                                                人关注
                                            </p>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="container text-right mb20 hidden-xs">
            <a href="https://segmentfault.com/feeds" class="feed-link">
                订阅本页 RSS
            </a>
        </div>
